import Command from "./command"
export class ClearCurrentSweepCommand extends Command {}
export class SetCurrentSweepCommand extends Command {
  sweepId: string
  constructor(sweepId?: string) {
    super()
    this.sweepId = sweepId
    this.payload = { sweepId }
  }
}
export class SweepSelectCommand extends Command {
  constructor(id: string, selected: any, duration = 500) {
    super()
    this.id = "SELECT_SWEEP"
    this.payload = { id, selected, duration }
  }
}
export class SweepHoverCommand extends Command {
  constructor(id: any, hovered: any, duration = 500) {
    super()
    this.id = "HOVER_SWEEP"
    this.payload = { id, hovered, duration }
  }
}
export class ToggleNonPanoCurrentPuckCommand extends Command {
  constructor(visible: any) {
    super()
    this.id = "TOGGLE_NON_PANO_CURRENT_PUCK"
    this.payload = { visible }
  }
}
export class EnableSweepSelectionCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "ENABLE_SWEEP_SELECTION"
  }
}
export class DisableSweepSelectionCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "DISABLE_SWEEP_SELECTION"
  }
}
